﻿using Ekton_Manage_DTO.RequestModels.Auth;
using Ekton_Manage_Framework.Methods;
using Ekton_Manage_IBusiness;
using Ekton_Manage_InfrastructureCore.Common;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_Web.Controllers
{
    /// <summary>
    /// 用户登录
    /// </summary>
    /// 
    [Route("api/[controller]/[action]")]
    [ApiController]
    //[Authorize]
    public class AuthController : ControllerBase
    {
        private readonly IConfiguration _configuration;
        private readonly IUserBusiness _userBusiness;
        private readonly CommonHelper _commonHelper;
        public AuthController(IConfiguration configuration,
                              IUserBusiness userBusiness,
                              CommonHelper commonHelper)
        {
            _configuration = configuration;
            _userBusiness = userBusiness;
            _commonHelper = commonHelper;
        }

        
    }
}